from ronglian_sms_sdk import SmsSDK
import datetime

accId = '8aaf0708842397dd01842817571200a5'
accToken = 'c73147712c4847f9aa32720bc196a956'
appId = '8aaf0708842397dd0184281757f200ac'

def send_message(mobile, data):
    sdk = SmsSDK(accId, accToken, appId)
    tid = '1'
    mobile = mobile
    datas = (data, '1')
    resp = sdk.sendMessage(tid, mobile, datas)
    print(resp)

if __name__ == '__main__':
    send_message('18862752231', '38978')